{if $intForm == 1 && $arrResult}
    <div class="secImage">
        <h3>Danh sách hình trong album slideshow</h3>
        <table cellpadding="0" cellspacing="0" border="1">
            <tbody>
                {foreach item=item key=key from=$arrResult}
                    {if ($key%5)==5}
                        <tr>
                    {/if}
                    <td {if $item.name != ""}title="{$item.name}"{/if}>
                    	{image path=$item.image type=12 small=1 attr="style=\"width:130px;\""}
                        {if ($smarty.session.slideshow&1<<3) > 0}  
                            <p align="center">< <a href="javascript:;" onclick="javascript:deleteImg({$item.imageid},{$item.albumid})">Xóa hình</a> ></p>
                        {/if}
                    </td>
                    {if ($key%5)==4}
                        </tr>
                    {/if}
                {/foreach}
            </tbody>
        </table>
    </div>    	
{/if} 